// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   PostDeleteController.java

package dale.web.post.controller;

import dale.web.post.service.PostService;
import org.springframework.ui.Model;

public class PostDeleteController
{

    public PostDeleteController(PostService service)
    {
        this.service = service;
    }

    public String get(int no, Model model)
    {
        service.delete(no);
        return "redirect:/post/search";
    }

    private PostService service;
}
